package com.csdj.server.pojo;

/**
 * @Author zyq
 * @Date 2023/2/3 8:46
 * @ClassName: MailConstants
 * @Description: TODO
 * @Version 1.0
 */
public class MailConstants {

    //消息投递中
    public static final Integer DELIVERING=0;
    //消息发送成功
    public static final Integer SUCCESS=1;
    //消息发送失败
    public static final Integer FAILURE=2;
    //消息重试次数
    public static final Integer MAX_TRY_COUNT=3;
    //超时时间
    public static final Integer MAX_TIMEOUT=1;

    //定义交换机
    public static final String MAIL_EXCHANGE_NAME="mail.exchange";
    //队列
    public static final String MAIL_QUEUE_NAME="mail.queue";
    //路由
    public static final String MAIL_ROUTINGKEY_NAME="mail.routing.key";


}
